<template>
  <div class="header">
    <div class="header-left">
      <span class="iconfont">&#xe604;</span>
    </div>
    <div class="header-main">
      <span class="iconfont">&#xe609;</span>
      <input type="text" placeholder="输入城市/景点/游玩主题" />
    </div>
    <div class="header-right">
      北京
      <span class="iconfont">&#xe6aa;</span>
    </div>
  </div>
</template>

<script>
export default {
  name: "Header"
};
</script>

<style scoped>
.header {
  display: flex;

  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: 0.88rem;
  background-color: rgb(66, 112, 238);

  color: cornsilk;
  font-size: 0.3rem;
}
.header-left {
  font-weight: bold;
}
.header-main {
  margin-top: 0.07rem;
  width: 5rem;
  background-color: #fff;
  border-radius: 3px;
}
.header-right {
  font-weight: bold;
}
.header-main input {
  margin-left: 0.3rem;
  border-radius: 2px;
  border: 1px solid rgb(250, 249, 249);
}
.header-main span {
  color: darkgray;
}
</style>
